package com.AiEnglishApp.backend.response;

import lombok.Getter;

@Getter
public enum ResultCode {
    SUCCESS(200, "操作成功"),
    NOT_FOUND(404, "资源未找到"),
    INTERNAL_ERROR(500, "内部服务器错误");

    private int code;
    private String message;

    ResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

}